package com.mv.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("wares")
public class Wares extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String waresName;
    private Integer integral;
    private Integer count;
    @TableField(exist = false)
    private Integer num;
    @TableField(exist = false)
    private Integer userId;
}
